package com.zmzncs.lmtc.module.shop.pojo.shop_ticket;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 商户-优惠券
 * </p>
 *
 * @author 高博文
 * @since 2021-05-20
 */
@Data
public class ShopTicketDTO implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "id")
    private Long id;

    @ApiModelProperty(value = "商户id")
    private Long shopId;

    @ApiModelProperty(value = "最低消费金额")
    private BigDecimal minimumMoney;

    @ApiModelProperty(value = "优惠券名称")
    private String ticketName;

    @ApiModelProperty(value = "满减金额")
    private BigDecimal offsetMoney;

    @ApiModelProperty(value = "折率")
    private BigDecimal discountRate;

    @ApiModelProperty(value = "优惠类型（1：满减，2：折扣）")
    private Integer preferentialType;

    @ApiModelProperty(value = "有效期天数")
    private Integer expiryDays;

    @ApiModelProperty(value = "可用状态（0：不展示 ，1：展示）")
    private Integer status;

    @ApiModelProperty(value = "库存")
    private Integer stock;

    @ApiModelProperty(value = "是否限购（0：否，1：是）")
    private Integer isLimitQuantity;

    @ApiModelProperty(value = "限购数量")
    private Integer limitQuantity;

    @ApiModelProperty(value = "有效期天数")
    private Integer expireDays;

    @ApiModelProperty(value = "是否永久（0：否，1：是）")
    private Integer isPermanent;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "修改时间")
    private Date updateTime;

    @ApiModelProperty(value = "删除标志   0：否；1：是  ")
    private Integer isDeleted;

    @ApiModelProperty(value = "图片地址")
    private String imageUrl;


}
